﻿//using System;
//using System.Collections.Generic;
//using System.ComponentModel.DataAnnotations;
//using System.ComponentModel.DataAnnotations.Schema;
//using System.Linq;
//using System.Runtime.Serialization;
//using System.Text;
//using System.Threading.Tasks;

//namespace KPIS.GERP.Models.SYS
//{
//    // send back to creator
//    [DataContract, Table("SysTaskHistoryMessage")]
//    public class TaskHistoryMessage
//    {
//        [DataMember, Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
//        public int TaskHistoryMessageId { get; set; }
        
//        [DataMember, ForeignKey("TaskHistory")]
//        public int TaskHistoryId { get; set; }

//        [DataMember]
//        public TaskHistory TaskHistory { get; set; }

//        [DataMember]
//        public string MessageText { get; set; }

//        [DataMember]
//        public bool Completed { get; set; }

//        [DataMember]
//        public bool AllowEdit { get; set; }
//    }
//}
